from flask import redirect, url_for

from core.blueprints import blueprint_register
from factory import  create_app, create_db

app = create_app()
create_db()
blueprint_register(app)

@app.route('/')
def hello_world():
    return redirect(url_for('auth.login'))

if __name__ == '__main__':
    app.run()
